﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BulldogCMS.Core.Storage;
using System.Xml.Linq;

namespace BulldogCMS.Core.Tests.Helper
{
    public class TreeHelper
    {
        public static Tree GetTestingTree(string name)
        {
            XDocument xDoc = ReflectionHelper.GetXMLFromAssembly(name);
            Tree tree = new Tree(xDoc);
            return tree;
        }

    }
}
